package com.kinghunt.misp.dal.dao.userx;

import com.kinghunt.misp.dal.model.userx.RolePermissionDO;

import java.util.List;

/**
* 角色-权限
* Created by Mybatis Generator on 2023/07/04
*/
public interface RolePermissionDAO {
    int deleteByPrimaryKey(Long id);

    int insert(RolePermissionDO record);

    int insertSelective(RolePermissionDO record);

    RolePermissionDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RolePermissionDO record);

    int updateByPrimaryKey(RolePermissionDO record);

    List<RolePermissionDO> selectByRoleIds(List<Long> roleIds);

    int deleteByRoleId(Long roleId);

    int insertBatch(List<RolePermissionDO> records);
}